package com.itheima.mm.mapper;

import com.itheima.mm.dto.UserLoginDTO;
import com.itheima.mm.pojo.User;
import com.itheima.mm.vo.UserLoginVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from  t_user where username=#{username} and password=#{password}")
    User login(UserLoginDTO userLoginDTO);
}
